package com.run.runbbs.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UserInfo {
    private int id;
    private int userId;
    private String realname;
    private Integer sex;
    private double height;
    private double weight;
    private int age;
    private String address;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private int delFlag;

}
